﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoAllocService.Map.Models
{
    public class BookingModel
    {
        /// <summary>
        /// 预约单ID
        /// </summary>
        public virtual string BookingID { get; set; }
        /// <summary>
        /// 预约单号
        /// </summary>
        public virtual string OrderNo { get; set; }
        public virtual int SeqNum { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public virtual string Channel { get; set; }
        /// <summary>
        /// 上车地址
        /// </summary>
        public virtual string PickupAddress { get; set; }
        /// <summary>
        /// 上车详细地址
        /// </summary>
        public virtual string PickupDetailAddress { get; set; }
        /// <summary>
        /// 上车经度
        /// </summary>
        public virtual decimal PickupLongitude { get; set; }
        /// <summary>
        /// 上车纬度
        /// </summary>
        public virtual decimal PickupLatitude { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public virtual string DestAddress { get; set; }
        /// <summary>
        /// 目的地详细地址
        /// </summary>
        public virtual string DestDetailAddress { get; set; }
        /// <summary>
        /// 目的地经度
        /// </summary>
        public virtual decimal DestLongitude { get; set; }
        /// <summary>
        /// 目的地纬度
        /// </summary>
        public virtual decimal DestLatitude { get; set; }
        /// <summary>
        /// 乘客人数
        /// </summary>
        public virtual int SeatNum { get; set; }
        /// <summary>
        /// 免费乘客人数
        /// </summary>
        public virtual int FreeSeatNum { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public virtual string City { get; set; }
        /// <summary>
        /// 上车时间
        /// </summary>
        public virtual DateTime PickupTime { get; set; }
        /// <summary>
        /// 实际上车时间
        /// </summary>
        public virtual DateTime? ActualPickupTime { get; set; }
        /// <summary>
        /// 实际下车时间
        /// </summary>
        public virtual DateTime? ActualArriveTime { get; set; }
        /// <summary>
        /// 预估实际价格
        /// </summary>
        public virtual decimal? EstimatedActualPrice { get; set; }
        /// <summary>
        /// 预估总价
        /// </summary>
        public virtual decimal? EstimatedTotalPrice { get; set; }
        /// <summary>
        /// 实际价格
        /// </summary>
        public virtual decimal? ActualPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public virtual decimal? ActualNoFloorPrice { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public virtual decimal? TotalPrice { get; set; }
        /// <summary>
        /// 实付金额
        /// </summary>
        public virtual decimal? PaidPrice { get; set; }
        /// <summary>
        /// 待付金额
        /// </summary>
        public virtual decimal? NotPaidPrice { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public virtual string Status { get; set; }
        /// <summary>
        /// 子状态
        /// </summary>
        public virtual string ChildStatus { get; set; }
        /// <summary>
        /// 来电号码
        /// </summary>
        public virtual string CallNumber { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public virtual string ContactNumber { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public virtual string ContactName { get; set; }
        /// <summary>
        /// 是否为他人发送消息
        /// </summary>

        public virtual bool IsSendOtherMessage { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public virtual Guid UID { get; set; }
        /// <summary>
        /// 行程类型()
        /// </summary>
        public virtual int TripType { get; set; }
        /// <summary>
        /// 预约类型
        /// </summary>
        public virtual int ServiceType { get; set; }
        /// <summary>
        /// 行程单号
        /// </summary>
        public virtual string POID { get; set; }
        /// <summary>
        /// 航段
        /// </summary>
        public virtual string TimeTable { get; set; }
        /// <summary>
        /// 车辆类型
        /// </summary>
        public virtual string CarType { get; set; }
        /// <summary>
        /// 航班号
        /// </summary>
        public virtual string FlightNo { get; set; }
        /// <summary>
        /// 航班日期
        /// </summary>
        public virtual DateTime? FlightDate { get; set; }
        /// <summary>
        /// 航班航段
        /// </summary>
        public virtual string FlightTimeTable { get; set; }
        /// <summary>
        /// 起飞时间
        /// </summary>
        public virtual DateTime? TakeOffTime { get; set; }
        /// <summary>
        /// 到达时间
        /// </summary>
        public virtual DateTime? ArriveTime { get; set; }
        /// <summary>
        /// 起飞地点
        /// </summary>
        public string TakeOffStation { get; set; }
        /// <summary>
        /// 到达地点
        /// </summary>
        public string ArriveStation { get; set; }
        /// <summary>
        /// 航班来源
        /// </summary>
        public virtual string FlightSource { get; set; }
        /// <summary>
        /// 真实起飞时间
        /// </summary>
        public virtual DateTime? RealityTakeOffDateTime { get; set; }
        /// <summary>
        /// 真是降落时间
        /// </summary>
        public virtual DateTime? RealityArriveDateTime { get; set; }
        /// <summary>
        /// 状态LogID
        /// </summary>
        public virtual Guid StatusLogID { get; set; }
        /// <summary>
        /// 子状态LogID
        /// </summary>
        public virtual Guid OrderStatusLogID { get; set; }
        /// <summary>
        /// 标志日期月
        /// </summary>
        public virtual string FlagMonth { get; set; }
        /// <summary>
        /// 标志日期日
        /// </summary>
        public virtual DateTime? FlagDate { get; set; }
        /// <summary>
        /// 计价规则ID
        /// </summary>
        public virtual Guid PriceRoleID { get; set; }
        public virtual DateTime Cdt { get; set; }
        public virtual Guid Cby { get; set; }
        public virtual DateTime Mdt { get; set; }
        public virtual Guid Mby { get; set; }
        public virtual int CbyAccountType { get; set; }
        public virtual int MbyAccountType { get; set; }
        public virtual bool IsDeleted { get; set; }
        /// <summary>
        /// 批次
        /// </summary>

        public virtual int Batch { get; set; }

        /// <summary>
        /// 意向司机
        /// </summary>
        public string WantDriverCode { get; set; }

        /// <summary>
        /// 意向司机操作人
        /// </summary>
        public virtual Guid? WantDriverBy { get; set; }
    }
}
